package com.dems.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dems.dao.dataobject.CfgAlarmStrategy;
import com.dems.dao.dataobject.User;
import com.dems.domain.AlarmStrategyReqVO;

/**
 * 告警策略数据查询接口
 * */
public interface CfgAlarmStrategyService {
    /**
     * 创建告警策略
     * */
    int create(CfgAlarmStrategy alarmStrategy, User user);

    /**
     * 更新告警策略
     * */
    int update(CfgAlarmStrategy alarmStrategy, User user);

    /**
     * 删除告警策略
     * */
    int delete(CfgAlarmStrategy alarmStrategy, User user);

    /**
     * 分页查询告警策略数据
     * */
    Page queryAlarmStrategyByPage(AlarmStrategyReqVO alarmStrategyReqVO);
}
